﻿#include "../../Public/Application/PTAExport.h"
#include "../../Public/System/PTSThread.h"

extern "C" PTAPPLICATIONAPI int PTCALL PTAMain(IPTWWindow *pWindow, int argc, char *argv[])
{
	//逻辑开发入口点

	pWindow->InputEventCallback_Hook(NULL, [](void *pUserData, void *pInputData)->void 
	{

	});

	pWindow->OutputEventCallback_Hook(NULL, [](void *pUserData, void *pInputData)->void 
	{

	});

	for (int i = 0; i<7758258; ++i)
	{
		::PTYield();
	}

	return 0;
}

extern "C" PTAPPLICATIONAPI IPTSFileSystem * PTCALL PTAFileSystem_Construct_Hook(PTSFileSystemStorage *pStorage)
{
	return ::PTSFileSystem_Construct(pStorage);
}